package com.tongji.housediy.events.designEvent
{
	import flash.events.Event;
	
	import mx.collections.ArrayCollection;
	
	/**
	 * 
	 * @author yanghanbing
	 * 2011/4/19
	 */ 
	public class GetDesignsByUserEvent extends Event
	{
		public static const GET_DESIGNS_BY_USERID:String = "getDesignsByUserID";
		public static const UPDATE_DESIGN_MODEL:String = "updateDesignModel";
		
		public var userID:String;
		public var designArray:ArrayCollection;
		public var pageIndex:int;
		public var itemCount:int;
		
		public function GetDesignsByUserEvent(type:String, pageIndex:int, itemCount:int, userID:String = null, designArray:ArrayCollection = null)
		{
			super(type);
			this.userID = userID;
			this.designArray = designArray;
			this.pageIndex = pageIndex;
			this.itemCount = itemCount;
		}
		
		override public function clone():Event
		{
			return new GetDesignsByUserEvent(type, pageIndex, itemCount, userID, designArray);
		}

	}
}